<template>
  <div>
    <Nuxt keep-alive :keep-alive-props="{ include: includeArr }" />
  </div>
</template>
<script>
export default {
  data() {
    return {
      includeArr: [], // 需要缓存的组件名数组
    }
  },
}
</script>
